<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 <style type="text/css">
            body {background-color: #4682B4; font-size: 12px}
         
         	#slide
         	{height: 400px;
         	width: 950px;
         	margin: 0 auto;
         	}
         	
			#msg1 
			 {
			    float: center;
			    padding: 10px;
			    font-family: Cambria;
			    font-size: 30px;
			    color: #6495ED;
			    text-align: center;
			    margin-top: -2px;
			 }
			 #msg2
			 {
			    float: center;
			    padding: 10px;
			    font-family: Cambria;
			    font-size: 15px;
			    color: #6495ED;
			    text-align: center;
			    margin-top: -18px;
			 }
			 </style>
</h:head>

<h:body>


<p:layout  style="width:100em; height:60em; margin:0 auto;"> 
     <p:layoutUnit position="north" size="120" >  
     <div align="center">
     		<h:panelGrid>
             <div id= "msg1">Simulador Jurídico</div>  
             <h:panelGrid columns="2">
			 <div id="msg2">Bem Vindo, #{loginBean.nome}</div>
			<p:commandButton icon="ui-icon-power" title="Logout" action="#{loginBean.logout}"></p:commandButton>
			</h:panelGrid>
 </h:panelGrid>
			</div>
		<h:form>
         <p:breadCrumb>
			<p:menuitem value="Home" url="/Index2.xhtml" />
			<p:menuitem value="Novo Processo" url="/novoProcesso.xhtml" />
			<p:menuitem value="Estudos" url="/estudos.xhtml" />
			<p:menuitem value="Concursos" url="/concursos.xhtml" />
			<p:menuitem value="Ajuda" url="/ajuda.xhtml" />
		</p:breadCrumb>
         </h:form>            
	</p:layoutUnit> 

      <p:layoutUnit position="center" width="400px" height="200px">  
              <ui:insert name="conteudo" />
               
      </p:layoutUnit>  
                
    	<p:layoutUnit position="south">
			
		</p:layoutUnit>

   </p:layout> 
		
</h:body>
</html>